
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
-- =============================================
-- Author:		Alhassan Nageh
-- Create date: 12/8/2012
-- Description:	Get SmartTech Participant By Barcode
-- =============================================
CREATE PROCEDURE [dbo].[GetSmartTechParticipantByBarcode] 
	-- Add the parameters for the stored procedure here
	@barcode varchar(MAX) = null
	
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

    -- Insert statements for procedure here
    SELECT *
    from vSmartTechParticipant
	where vSmartTechParticipant.Barcode = @barcode
END
GO
